#pragma once

#include <drogon/HttpSimpleController.h>

using namespace drogon;

class MyController : public drogon::HttpSimpleController<MyController>
{
public:
    void asyncHandleHttpRequest(const HttpRequestPtr &req, std::function<void(const HttpResponsePtr &)> &&callback) override;
    PATH_LIST_BEGIN
    // list path definitions here;
    PATH_ADD("/screenshot", Get);
    PATH_LIST_END
};
